#ifndef ALARM_H
#define ALARM_H

#include "netCommon.h"
#include "Ipc.h"
void GetAlarmConfInfo(int fd, char *buff, int blen);
void GetAlarmMsg(int fd, char *buff, int blen);
void SendIPCMsg(char *buff, int blen, int type);
void SendAlarmMsg(int fd, unsigned char *msgbuf, int msglen);
void handleAlarmMsg(int fd);
void SetAlarmOutputState(int fd, char *buff, int blen);
void GetAlarmOutputState(int fd, char *buff, int blen);
void GetAlarmPlan(int fd, char *buff, int blen);
void FetchLocalAlarmConf(int sockfd, int code);
void SetAlarmPlan(int fd, char *buff, int blen);
#endif
